<div>
    <div class="ibox ">
        <div class="ibox-title">
            <h5>查询条件</h5>
            <div class="ibox-tools" style="top:10px;">
            </div>
        </div>
        <div class="ibox-content">
            <div class="row">
                <div class="col-sm-2">
                    <div class="form-group">
                        <input type="text" placeholder="请输入菜单名称" v-model="indexMenuInfo.conditions.name"
                            class=" form-control">
                    </div>
                </div>
                <div class="col-sm-2">
                    <select class="custom-select" v-model="indexMenuInfo.conditions.isShow">
                        <option selected disabled value="">请选择是否展示</option>
                        <option v-for="(item,index) in indexMenuInfo.isShows" :value="item.statusCd">
                            {{item.name}}
                        </option>
                    </select>
                </div>
                <div class="col-sm-2">
                    <button type="button" class="btn btn-primary btn-sm" v-on:click="_queryMenuMethod()">
                        <i class="fa fa-search"></i> 查询
                    </button>
                </div>
            </div>
        </div>
    </div>
    <div class="ibox">
        <div class="ibox-title">
            <h5>首页菜单</h5>
            <div class="ibox-tools" style="top:10px;">
                <button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddHouseKeepMenuModal()">
                    <i class="fa fa-plus"></i>家政类型菜单
                </button>
                <button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddServiceMenuModal()">
                    <i class="fa fa-plus"></i>家政菜单
                </button>
                <button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddCategoryMenuModal()">
                    <i class="fa fa-plus"></i>商品分类
                </button>
                <button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddShopMenuModal()">
                    <i class="fa fa-plus"></i>商品菜单
                </button>
                <button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddMenuModal()">
                    <i class="fa fa-plus"></i>站外菜单
                </button>
            </div>
        </div>
        <div class="ibox-content">
            <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                <thead>
                    <tr>
                        <th class="text-center">logo</th>
                        <th class="text-center">菜单名称</th>
                        <th class="text-center">排序</th>
                        <th class="text-center">是否显示</th>
                        <th class="text-center">创建时间</th>
                        <th class="text-center">操作</th>
                    </tr>
                </thead>
                <tbody>
                    <tr v-for="menu in indexMenuInfo.menus">
                        <td class="text-center">
                            <div style="position: relative; display: inline-block;">
                                <img width="50" height="50" v-bind:src="menu.menuIcon"
                                    onerror="this.src='/img/noPhoto.jpg';">
                            </div>
                        </td>
                        <td class="text-center">{{menu.name}}</td>
                        <td class="text-center">{{menu.seq}}</td>
                        <td class="text-center">{{menu.isShow == 'Y'?'是':'否'}}</td>
                        <td class="text-center">{{menu.createTime}}</td>
                        <td class="text-center">
                            <div class="btn-group">
                                <button class="btn-white btn btn-xs" v-on:click="_openEditMenuModel(menu)">修改
                                </button>
                            </div>
                            <div class="btn-group">
                                <button class="btn-white btn btn-xs" v-on:click="_openDeleteMenuModel(menu)">删除
                                </button>
                            </div>
                        </td>
                    </tr>
                </tbody>
            </table>
            <!-- 分页 -->
            <vc:create path="frame/pagination"></vc:create>
        </div>
    </div>

    <vc:create path="phone/addIndexMenu" ></vc:create>
    <vc:create path="phone/addHouseKeepMenu" ></vc:create>
    <vc:create path="phone/addServiceMenu" ></vc:create>
    <vc:create path="phone/addShopMenu" ></vc:create>
    <vc:create path="phone/addCategoryMenu" ></vc:create>
    
    
    <vc:create path="phone/editIndexMenu"></vc:create>
    <vc:create path="phone/deleteIndexMenu"></vc:create>
</div>